package com.sixth.sso.feign;


import com.sixth.core.entity.Menu;
import com.sixth.core.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @Author: 闫克起
 * @Description:
 * @Date: Create in 11:32 2024/8/12
 */
@FeignClient(value = "hospital-system")
public interface MenuFeign {

    @GetMapping("/system/menu/getByUserId/{userId}")
    public R<List<Menu>> getByUserId(@PathVariable Long userId);
}
